<!-- start: LOGIN -->

<!-- start: LOGIN BOX -->
<div ng-controller="LoginCtrl" style="margin-top:20%" class="col-md-offset-4 col-xs-4">
    <div class="form-group">
        <div style="color:red;height:20px" ng-if="loginuserValid()&&loginsignvalid"><span><i class="fa fa-times-circle-o" style="font-size: 18px"></i>用户名未填，请输入用户名！</span></div>
        <span class="input-icon">
							<input type="text" class="form-logincontrol"   tooltip-trigger="" is-open="validateUsername()" tooltip-placement="top" ng-model="loginForm.username" name="username" placeholder="工号">
							<i class="fa fa-user"></i> </span>
    </div>
    <div class="form-group form-actions">
        <div style="color:red;height:20px" ng-if="loginpassValid()&&loginsignvalid"> <span><i class="fa fa-times-circle-o" style="font-size: 18px"></i>密码未填，请输入密码！</span></div>
        <span class="input-icon"> 
							<input type="{{viewType}}"   is-open="validatePassword()" tooltip-placement="top" class="form-logincontrol password" ng-model="loginForm.password" name="password" placeholder="密码" ng-keypress="handleloginEnter($event)">
							<i class="fa fa-lock"></i>
							<i class="ti-eye" style="left:auto;right:4px;" ng-click="toggleView();"></i>
							<!--a class="forgot" ui-sref="login.forgot">
								I forgot my password
							</a --> </span>
    </div>
    <div class="form-actions">
        <!-- <div class="checkbox clip-check check-primary">
							<input type="checkbox" id="remember" value="1">
							<label for="remember">
								Keep me signed in
							</label>
						</div> -->
        <button type="button" ng-disabled="formValid()" ng-click="handleLoginClick(event)" class="btn btn-danger " style="width:100%">
							登录 <i class="fa fa-arrow-circle-right"></i>
						</button>
    </div>
    <!-- <div class="new-account">
						Don't have an account yet?
						<a ui-sref="login.registration">
							Create an account
						</a>
					</div> -->

    <!-- start: COPYRIGHT -->

    <!-- end: COPYRIGHT -->
</div>
<!-- end: LOGIN BOX -->


<!-- end: LOGIN -->